package com.rt.system.domain;

import com.rt.common.annotation.Excel;

import java.math.BigDecimal;

/**
 * 试卷导出
 */
public class RtExamPaper {
    /** 主键 */
    private String id;

    /** 题型 */
    @Excel(name = "试题类型",readConverterExp = "1=1,2=2,4=3,5=4")
    private Long questionTypeId;

    /** 试题难度*/
    @Excel(name = "试题难易程度")
    private Long difficulty;

    /** 试题分值（暂时不用） */
    @Excel(name = "试题分值")
    private BigDecimal score;

    /**试题题干 */
    @Excel(name = "试题题干",width = 80)
    private String questionsContent;

    /** 试题选项 */
    @Excel(name = "试题选项",width = 60)
    private String remark;

    /** 试题答案 */
    @Excel(name = "试题答案")
    private Integer isAnswer;

    /** 判断题答案 */
    private Integer isCorrect;

    /** 案例题id */
    @Excel(name = "案例题id")
    private String parentId;

    @Override
    public String toString() {
        return "RtExamPaper{" +
                "id='" + id + '\'' +
                ", questionTypeId=" + questionTypeId +
                ", difficulty=" + difficulty +
                ", score=" + score +
                ", questionsContent='" + questionsContent + '\'' +
                ", remark='" + remark + '\'' +
                ", isAnswer='" + isAnswer + '\'' +
                ", isCorrect=" + isCorrect +
                ", parentId='" + parentId + '\'' +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Long getQuestionTypeId() {
        return questionTypeId;
    }

    public void setQuestionTypeId(Long questionTypeId) {
        this.questionTypeId = questionTypeId;
    }

    public Long getDifficulty() {
        return difficulty;
    }

    public void setDifficulty(Long difficulty) {
        this.difficulty = difficulty;
    }

    public BigDecimal getScore() {
        return score;
    }

    public void setScore(BigDecimal score) {
        this.score = score;
    }

    public String getQuestionsContent() {
        return questionsContent;
    }

    public void setQuestionsContent(String questionsContent) {
        this.questionsContent = questionsContent;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getIsAnswer() {
        return isAnswer;
    }

    public void setIsAnswer(Integer isAnswer) {
        this.isAnswer = isAnswer;
    }

    public Integer getIsCorrect() {
        return isCorrect;
    }

    public void setIsCorrect(Integer isCorrect) {
        this.isCorrect = isCorrect;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }
}
